//axos访问 API常量
export enum scaBaseUrlAPI {
  SCA_APPLICATION_API_ADD = 'api/sca/application/add',
  SCA_APPLICATION_API_UPDATE = 'api/sca/application/update',
  SCA_APPLICATION_API_DELETE = 'api/sca/application/delete',
  SCA_APPLICATION_API_PAGE = 'api/sca/application/page',

  SCA_PROJECT_API_ADD = 'api/sca/project/add',
  SCA_PROJECT_API_UPDATE = 'api/sca/project/update',
  SCA_PROJECT_API_DELETE = 'api/sca/project/delete',
  SCA_PROJECT_API_PAGE = 'api/sca/project/page',

  SCA_DEVICE_API_ADD = 'api/sca/device/add',
  SCA_DEVICE_API_UPDATE = 'api/sca/device/update',
  SCA_DEVICE_API_DELETE = 'api/sca/device/delete',
  SCA_DEVICE_API_PAGE = 'api/sca/device/page',

  SCA_VARIABLE_API_ADD = 'api/sca/variable/add',
  SCA_VARIABLE_API_UPDATE = 'api/sca/variable/update',
  SCA_VARIABLE_API_DELETE = 'api/sca/variable/delete',
  SCA_VARIABLE_API_PAGE = 'api/sca/variable/page',

  SCA_PAGE_API_ADD = 'api/sca/program/add',
  SCA_PAGE_API_UPDATE = 'api/sca/program/update',
  SCA_PAGE_API_DELETE = 'api/sca/program/delete',
  SCA_PAGE_API_PAGE = 'api/sca/program/page',

  SCA_COMPONENT_API_ADD = 'api/sca/component/add',
  SCA_COMPONENT_API_UPDATE = 'api/sca/component/update',
  SCA_COMPONENT_API_DELETE = 'api/sca/component/delete',
  SCA_COMPONENT_API_PAGE = 'api/sca/component/page',

  SCA_PRE_PAGE_LIST_API = 'api/uiv/page_info/list',
  SCA_PRE_PAGE_SAVE_API = 'api/uiv/page_info/save',
  SCA_PRE_PAGE_REMOVE_API = 'api/uiv/page_info/remove',

  SCA_ALARM_API_ADD = 'api/sca/alarm/add',
  SCA_ALARM_API_UPDATE = 'api/sca/alarm/update',
  SCA_ALARM_API_DELETE = 'api/sca/alarm/delete',
  SCA_ALARM_API_PAGE = 'api/sca/alarm/page'
}

//目录枚举
export enum scaCatalogType {
  PROJECT_CODE = 1,
  DEVICE_CODE,
  VARIABLE_CODE,
  PAGE_CODE,
  COMPONENT_CODE,
  DEVICE_SEARCH_LIST_CODE = 1,
  DEVICE_TYPE_SEARCH_CODE
}

//目录URL枚举
export enum scaCatalogUrlAPI {
  PROJECT_API = 'api/sca/catalog/project_list',
  DEVICE_API = 'api/sca/catalog/device_list',
  VARIABLE_API = 'api/sca/catalog/variable_list',
  PAGE_API = 'api/sca/catalog/page_list',
  COMPONENT_API = 'api/sca/catalog/component_list'
}

//目录URL枚举
export enum scaBaseVOAPI {
  SCA_DICT_VO_TREE = 'api/sca/basic_vo/dict_vo_tree',
  SCA_PROJECT_VO_TREE = 'api/sca/basic_vo/project_vo_tree',
  SCA_PROJECT_VO_SEARCH_TREE = 'api/sca/basic_vo/project_vo_search_tree',
  SCA_WEB_PROJECT_VO_TREE = 'api/sca/basic_vo/web_project_vo_tree',

  SCA_DEVICE_SEARCH_LIST_API = 'api/sca/basic_vo/device_search_list',
  SCA_DEVICE_TYPE_SEARCH_LIST_API = 'api/sca/basic_vo/device_type_search_list'
}


//IO类型字符串常量
export enum EVarIoType {
  VAR_DI = 'VAR_DI',
  VAR_DO = 'VAR_DO',
  VAR_AI = 'VAR_AI',
  VAR_AO = 'VAR_AO'
}
